package com.ajx.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/*
 * @Author: 姜东浩
 * @Date: 2022-04-22 23:52:23
 * 
 * @Description: 给新发布的博客分配管理员,任务分配
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "article_distribute")
public class ArticleDistribute implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id; // 任务分配主键id

    @TableField(value = "article_id")
    private Integer articleId; // 待审核博客文章id

    @TableField(value = "admin_id")
    private Integer adminId; // 分配的审核员id

    @TableField(value = "createtime")
    private String createtime; // 记录创建时间

    @TableField(value = "astatus")
    private String astatus; // 状态 审核完成0,未审核-1

    @TableField(value = "remark")
    private String remark; // 备注

}
